import { defineStore } from 'pinia';
import { ref } from 'vue';
export const usePatientStore = defineStore('patient', () => {
  const illnessDesc = ref<string>('');
  // 患病时间1一周内2一月内3半年内4半年以上
  const illnessTime = ref<number>();
  // 是否就诊过0未就诊1就诊过
  const consultFlag = ref<number>();
  const patientInfo = ref();

  return {
    illnessDesc,
    illnessTime,
    consultFlag,
    patientInfo,
  };
});
